home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / GL / flip / Makefile < prev    next >
Makefile  |  1994-08-01  |  455b  |  33 lines

  1. #!smake
  2.  
  3. include $(ROOT)/usr/include/make/commondefs
  4.  
  5. #
  6. # Makefile for flip demo
  7. #
  8.  
  9. TARGETS = flip
  10.  
  11. CFILES    = flip.c light.c flipobj.c swirl.c hash.c
  12. OBJECTS    = flip.o light.o flipobj.o swirl.o hash.o
  13. HFILES    = flip.h light.h hash.h 
  14.  
  15.  
  16. LLDLIBS = ../libdemo/libdemo.a -lgl -lm
  17. LCOPTS    = -float
  18.  
  19. LCINCS  = -I../libdemo
  20.  
  21. default all: $(TARGETS)
  22.  
  23. install:
  24.     $(MAKE) $(TARGETS)
  25.  
  26.  
  27. include $(COMMONRULES)
  28.  
  29.  
  30. ${TARGETS}: ${OBJECTS}
  31.     ${CCF} ${OBJECTS} $(LDFLAGS) -o $@
  32.  
  33.